// api.js
import request from '@/utils/request.js';

//setScore
export const setProjectScore = (data) => {
    return request({
        url: '/score/setScore',
		method: 'POST',
		data
    });
};

//getProject
export const getProject = () => {
    return request({
        url: '/score/getScore'
    });
};

//getProject
export const getAllProject = () => {
    return request({
        url: '/score/getAllScore'
    });
};
//getAllVoteOnline
export const getAllVoteOnline = (data) => {
    return request({
        url: '/score/getAllVoteOnline',
		method: 'POST',
		data
    });
};
//getProject
export const getAllVote = (data) => {
    return request({
        url: '/score/getAllVote',
		method: 'POST',
		data
    });
};